package com.jihu.mall.auth.feign;

import com.jihu.mall.auth.vo.UserRegisterVo;
import com.jihu.mall.common.utils.MallServiceList;
import com.jihu.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author jihu
 * @date 2021/8/2
 */
@FeignClient(MallServiceList.MALL_MEMBER)
public interface MemberFeignService {

    @PostMapping("/member/member/register")
    public R regitser(@RequestBody UserRegisterVo vo);
}
